package com.prp.db.po;

import java.util.Date;

/**
 * SubjectComment entity. @author MyEclipse Persistence Tools
 */

public class SubjectComment implements java.io.Serializable {

	// Fields

	private Integer commentId;
	private Integer toSubjectId;
	private Integer commentUserId;
	private String content;
	private Date date;
	private Integer score;

	// Constructors

	/** default constructor */
	public SubjectComment() {
	}

	/** minimal constructor */
	public SubjectComment(Integer toSubjectId, Integer commentUserId,
			String content, Date date) {
		this.toSubjectId = toSubjectId;
		this.commentUserId = commentUserId;
		this.content = content;
		this.date = date;
	}

	/** full constructor */
	public SubjectComment(Integer toSubjectId, Integer commentUserId,
			String content, Date date, Integer score) {
		this.toSubjectId = toSubjectId;
		this.commentUserId = commentUserId;
		this.content = content;
		this.date = date;
		this.score = score;
	}

	// Property accessors

	public Integer getCommentId() {
		return this.commentId;
	}

	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	public Integer getToSubjectId() {
		return this.toSubjectId;
	}

	public void setToSubjectId(Integer toSubjectId) {
		this.toSubjectId = toSubjectId;
	}

	public Integer getCommentUserId() {
		return this.commentUserId;
	}

	public void setCommentUserId(Integer commentUserId) {
		this.commentUserId = commentUserId;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

}